{
  "properties" : { },
  "id" : "ca6e127752eb4d069ac7b706c2023637",
  "script" : null,
  "groupId" : "f233a970a1c5419295b8d980e50d4c51",
  "name" : "删除故障知识库类型",
  "createTime" : 1727070969071,
  "updateTime" : 1724900930868,
  "lock" : "1",
  "createBy" : "ndmp",
  "updateBy" : "ndmp",
  "path" : "remove",
  "method" : "POST",
  "parameters" : [ ],
  "options" : [ ],
  "requestBody" : "{\n    \"ids\":\"30,31,32,33\"\n}",
  "headers" : [ ],
  "paths" : [ ],
  "responseBody" : "{\n    \"status\": 500,\n    \"message\": \"系统内部出现错误\",\n    \"data\": {}\n}",
  "description" : null,
  "requestBodyDefinition" : null,
  "responseBodyDefinition" : null
}
================================
ids = body.ids
idList = ids.split(",")
// 批量删除，返回删除条数
return db.update("""
        delete from ndmp_knowledge_type where id in 
        <foreach collection="idList" open="(" separator="," close=")" item="item">
            #{item}
        </foreach>
    """)